Skip to content

Doc work#170

Merged
vinniefalco merged 1 commit into
cppalliance:developfrom
vinniefalco:develop
Sep 29, 2025
Merged

Doc work#170
vinniefalco merged 1 commit into
cppalliance:developfrom
vinniefalco:develop

Conversation

@vinniefalco
Copy link
Copy Markdown
Member

No description provided.

@vinniefalco vinniefalco requested review from ashtum and Copilot and removed request for Copilot September 29, 2025 08:13
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors buffer operation function names in the codebase to use more descriptive and consistent naming. The changes replace older function names with more explicit alternatives that better convey their purpose.

  • Replaces buffers::trim_front with buffers::remove_prefix throughout the codebase
  • Replaces buffers::keep_front with buffers::keep_prefix for consistency
  • Replaces buffers::trim_back with buffers::remove_suffix for symmetry
  • Updates detail::prefix calls to use buffers::prefix for consistency
  • Refactors helper functions in buffer_utils.hpp to improve implementation

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/unit/source.cpp Updates buffer trimming call to use new function name
test/unit/serializer.cpp Updates buffer operations to use new function names
test/unit/compression.cpp Updates multiple buffer trimming calls throughout compression tests
src/serializer.cpp Updates buffer operations in serializer implementation
src/parser.cpp Updates prefix operations to use buffers namespace
src/detail/filter.cpp Updates buffer trimming operations
src/detail/buffer_utils.hpp Refactors prefix function removal and make_span implementation
src/detail/array_of_const_buffers.cpp Updates buffer trimming call

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

3 similar comments
@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.53%. Comparing base (0e85b91) to head (a9e900a).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #170   +/-   ##
========================================
  Coverage    92.53%   92.53%           
========================================
  Files           81       81           
  Lines         5061     5061           
========================================
  Hits          4683     4683           
  Misses         378      378           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e85b91...a9e900a. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

2 similar comments
@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

1 similar comment
@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

1 similar comment
@cppalliance-bot
Copy link
Copy Markdown

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

1 similar comment
@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

1 similar comment
@cppalliance-bot
Copy link
Copy Markdown

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

@vinniefalco vinniefalco changed the title buffers changes Doc work Sep 29, 2025
@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

1 similar comment
@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@cppalliance-bot
Copy link
Copy Markdown

3 similar comments
@cppalliance-bot
Copy link
Copy Markdown

@cppalliance-bot
Copy link
Copy Markdown

@cppalliance-bot
Copy link
Copy Markdown

@cppalliance-bot
Copy link
Copy Markdown

An automated preview of the documentation is available at https://170.http-proto.prtest.cppalliance.org/index.html

@vinniefalco vinniefalco merged commit 06502c5 into cppalliance:develop Sep 29, 2025
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants